2006-04-24 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkclipboard.h:
+ * gtk/gtkprinter.c:
+ * gtk/gtkprintsettings.h:
+ * gtk/gtkprintsettings.c: Match parameter names with the headers.
+
+ * gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
+ Add docs.
+
+ * gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
+ * gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
+ * gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
+ * gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
+ * gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
+
* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.
2006-04-24 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkclipboard.h:
+ * gtk/gtkprinter.c:
+ * gtk/gtkprintsettings.h:
+ * gtk/gtkprintsettings.c: Match parameter names with the headers.
+
+ * gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
+ Add docs.
+
+ * gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
+ * gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
+ * gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
+ * gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
+ * gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
+ * gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
+
* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.
*
* Creates a new #GtkCellRendererSpin.
*
+ * Returns: a new #GtkCellRendererSpin
+ *
* Since: 2.10
*/
GtkCellRenderer *
guint8 * gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard,
GtkTextBuffer *buffer,
GdkAtom *format,
- gsize *size);
+ gsize *length);
GdkPixbuf * gtk_clipboard_wait_for_image (GtkClipboard *clipboard);
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
GdkAtom **targets,
/**
* gtk_menu_get_for_attach_widget:
* @widget: a #GtkWidget
- * * Returns a list of the menus which are attached to this widget.
+ *
+ * Returns a list of the menus which are attached to this widget.
* This list is owned by GTK+ and must not be modified.
*
* Return value: the list of menus attached to his widget.
* gtk_printer_new:
* @name: the name of the printer
* @backend: a #GtkPrintBackend
- * @gboolean: whether the printer is virtual
+ * @virtual: whether the printer is virtual
*
* Creates a new #GtkPrinter.
*
return result;
}
+/**
+ * gtk_print_run_page_setup_dialog:
+ * @parent: transient parent, or %NULL
+ * @page_setup: an existing #GtkPageSetup, or %NULL
+ * @settings: a #GtkPrintSettings
+ *
+ * Runs a page setup dialog, letting the user modify
+ * the values from @page_setup. If the user cancels
+ * the dialog, the returned #GtkPageSetup is identical
+ * to the passed in @page_setup, otherwise it contains
+ * the modifications done in the dialog.
+ *
+ * Return value: a new #GtkPageSetup
+ *
+ * Since: 2.10
+ */
GtkPageSetup *
gtk_print_run_page_setup_dialog (GtkWindow *parent,
GtkPageSetup *page_setup,
* gtk_print_settings_set_length:
* @settings: a #GtkPrintSettings
* @key: a key
- * @length: a length
+ * @value: a length
* @unit: the unit of @length
*
* Associates a length in units of @unit with @key.
void
gtk_print_settings_set_length (GtkPrintSettings *settings,
const gchar *key,
- gdouble length,
+ gdouble value,
GtkUnit unit)
{
gtk_print_settings_set_double (settings, key,
- _gtk_print_convert_to_mm (length, unit));
+ _gtk_print_convert_to_mm (value, unit));
}
/**
/**
* gtk_print_settings_set_quality:
* @settings: a #GtkPrintSettings
- * @duplex: a #GtkPrintQuality value
+ * @quality: a #GtkPrintQuality value
*
* Sets the value of %GTK_PRINT_SETTINGS_QUALITY.
*
/**
* gtk_print_settings_set_number_up:
* @settings: a #GtkPrintSettings
- * @num_copies: the number of pages per sheet
+ * @number_up: the number of pages per sheet
*
* Sets the value of %GTK_PRINT_SETTINGS_NUMBER_UP.
*
/**
* gtk_print_settings_set_scale:
* @settings: a #GtkPrintSettings
- * @resolution: the scale in percent
+ * @scale: the scale in percent
*
* Sets the value of %GTK_PRINT_SETTINGS_SCALE.
*
/**
* gtk_print_settings_set_print_pages:
* @settings: a #GtkPrintSettings
- * @print_pages: a #GtkPrintPages value
+ * @pages: a #GtkPrintPages value
*
* Sets the value of %GTK_PRINT_SETTINGS_PRINT_PAGES.
*
*/
void
gtk_print_settings_set_print_pages (GtkPrintSettings *settings,
- GtkPrintPages print_pages)
+ GtkPrintPages pages)
{
const gchar *str;
- switch (print_pages)
+ switch (pages)
{
default:
case GTK_PRINT_PAGES_ALL:
gdouble gtk_print_settings_get_paper_height (GtkPrintSettings *settings,
GtkUnit unit);
void gtk_print_settings_set_paper_height (GtkPrintSettings *settings,
- gdouble width,
+ gdouble height,
GtkUnit unit);
gboolean gtk_print_settings_get_use_color (GtkPrintSettings *settings);
void gtk_print_settings_set_use_color (GtkPrintSettings *settings,
/**
* gtk_status_icon_get_storage_type:
- * @status_icon:
+ * @status_icon: a #GtkStatusIcon
*
* Gets the type of representation being used by the #GtkStatusIcon
* to store image data. If the #GtkStatusIcon has no image data,
}
/**
- * gtk_text_buffer_serialize:
+ * gtk_text_buffer_deserialize:
* @register_buffer: the #GtkTextBuffer %format is registered with
* @content_buffer: the #GtkTextBuffer to deserialize into
* @format: the rich text format to use for deserializing
* gtk_tree_view_get_headers_clickable:
* @tree_view: A #GtkTreeView.
*
+ * Returns whether all header columns are clickable.
+ *
* Return value: %TRUE if all header columns are clickable, otherwise %FALSE
*
* Since: 2.10
/**
* gtk_tree_view_set_search_position_func:
* @tree_view: A #GtkTreeView
- * @search_position_func: the function to use to position the search dialog
- * @ser_data: user data to pass to @search_position_func, or %NULL
- * @destroy: Destroy notifier for @search_position_data, or %NULL
+ * @func: the function to use to position the search dialog
+ * @data: user data to pass to @func, or %NULL
+ * @destroy: Destroy notifier for @data, or %NULL
*
* Sets the function to use when positioning the seach dialog.
*